package com.project.bean;

import java.time.LocalDate;
import java.util.List;

/**
 * @Author(王思翰)
 * @Description(类的描述)学校实体类
 * @Date(创建时间) 2021/7/10 16:30
 */
public class SchoolBean {
    /**
     * 学校Id
     */
    private int id;

    /**
     * 学校名字
     */
    private String name;

    /**
     * 学校电话
     */
    private String phone;

    /**
     * 学校状态
     */
    private String status="接洽中";

    /**
     * 学校审批意见
     */
    private String idea;

    /**
     * 校长
     */
    private String principal;

    /**
     * 录入时间
     */
    private LocalDate inDate=LocalDate.now();

    /**
     * 所属城市对象
     */
    private Citybean citybean;

    /**
     * 学校所属活动集合
     */
    private List<EventBean> eventBeanList;

    public SchoolBean() {
    }

    public SchoolBean(int id) {
        this.id = id;
    }

    public SchoolBean(String name, String phone, String idea, String principal, Citybean citybean) {
        this.name = name;
        this.phone = phone;
        this.idea = idea;
        this.principal = principal;
        this.citybean = citybean;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getIdea() {
        return idea;
    }

    public void setIdea(String idea) {
        this.idea = idea;
    }

    public String getPrincipal() {
        return principal;
    }

    public void setPrincipal(String principal) {
        this.principal = principal;
    }

    public LocalDate getInDate() {
        return inDate;
    }

    public void setInDate(LocalDate inDate) {
        this.inDate = inDate;
    }

    public Citybean getCitybean() {
        return citybean;
    }

    public void setCitybean(Citybean citybean) {
        this.citybean = citybean;
    }

    public List<EventBean> getEventBeanList() {
        return eventBeanList;
    }

    public void setEventBeanList(List<EventBean> eventBeanList) {
        this.eventBeanList = eventBeanList;
    }

    @Override
    public String toString() {
        return "SchoolBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", phone='" + phone + '\'' +
                ", status='" + status + '\'' +
                ", idea='" + idea + '\'' +
                ", principal='" + principal + '\'' +
                ", inDate=" + inDate +
                ", citybean=" + citybean +
                ", eventBeanList=" + eventBeanList +
                '}';
    }
}
